package services;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: shameera
 * Date: 1/22/12
 * Time: 9:31 PM
 * To change this template use File | Settings | File Templates.
 */
public class Student {
    
    public String name;
    private int age;
    public List<String> subjects = new ArrayList<String>();
    boolean isCaptain ;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
    
    public void addSubject(String subjectName) {
        subjects.add(subjectName);
    }
}
